const template_attrs = [
  {
    name: 'input',
    attrs: [
      {
        name: '控件标识',
        attr: '',
        type: 'input',
        placeholder: '请输入控件标识',
        model: 'comopentId'
      },
      {
        name: '占位符',
        attr: '',
        type: 'input',
        placeholder: '请输入占位符',
        model: 'placeholder'
      },
      {
        name: '格式',
        attr: '',
        type: 'cascader',
        placeholder: '请输入数据格式',
        model: 'dataFormat'
      },
      {
        name: '只读',
        attr: 'type',
        type: 'switch',
        model: 'disabled'
      }
    ]
  },
  {
    name: 'select',
    attrs: [
      {
        name: '控件标识',
        attr: '',
        type: 'input',
        placeholder: '请输入控件标识',
        model: 'comopentId'
      },
      {
        name: '只读',
        attr: 'type',
        type: 'switch',
        model: 'disabled'
      },
      {
        name: '多选',
        attr: 'type',
        type: 'switch',
        model: 'multiple'
      }
    ]
  },
  {
    name: 'textarea',
    attrs: [
      {
        name: '控件标识',
        attr: '',
        type: 'input',
        placeholder: '请输入控件标识',
        model: 'comopentId'
      },
      {
        name: '只读',
        attr: 'type',
        type: 'switch',
        model: 'disabled'
      }
    ]
  },
  {
    name: 'date',
    attrs: [
      {
        name: '控件标识',
        attr: '',
        type: 'input',
        placeholder: '请输入控件标识',
        model: 'comopentId'
      },
      {
        name: '格式',
        attr: '',
        type: 'cascader',
        placeholder: '请输入数据格式',
        model: 'dataFormat'
      },
      {
        name: '只读',
        attr: 'type',
        type: 'switch',
        model: 'disabled'
      }
    ]
  },
  {
    name: 'radio',
    attrs: [
      {
        name: '控件标识',
        attr: '',
        type: 'input',
        placeholder: '请输入控件标识',
        model: 'comopentId'
      },
      {
        name: '只读',
        attr: 'type',
        type: 'switch',
        model: 'disabled'
      }
    ]
  },
  {
    name: 'checkbox',
    attrs: [
      {
        name: '控件标识',
        attr: '',
        type: 'input',
        placeholder: '请输入控件标识',
        model: 'comopentId'
      },
      {
        name: '只读',
        attr: 'type',
        type: 'switch',
        model: 'disabled'
      }
    ]
  },
  {
    name: 'button',
    attrs: [
      {
        name: '控件标识',
        attr: '',
        type: 'input',
        placeholder: '请输入控件标识',
        model: 'comopentId'
      },
      {
        name: '只读',
        attr: 'type',
        type: 'switch',
        model: 'disabled'
      }
    ]
  }
]

export default template_attrs
